﻿<?php 
if ($MEMBER){
	echo "Ban da dang nhap roi. <a href=logout.php>Thoát</a>";
} else {

?>
<form action='<? echo $thispage; ?>' method='post'>
	<center>
	<table  algin=center>
	<tr><td >Tên đăng nhập: <td ><input name="user_id" type="text" size=20></tr>
	<tr><td>Mật khẩu: <td><input name="password" type="password" size=20></tr>
	<?php if($OJ_VCODE){?>
		<tr><td><?php echo $MSG_VCODE?>:</td>
			<td><input name="vcode" size=4 type=text><img src=vcode.php>*</td>
		</tr>
		<?php }?>
	<tr><td><td><input name="submit" type="submit" size=10 value="Đăng nhập"></tr>
	</table>
	<center>
</form>
<br><br>
<?php 
}
?>
